package com.springboot.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Category {


    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("ctgy_id")
    Integer ctgyId;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("ctgy_name")
    String ctgyName;


    List<Item> itemList;
    List<Product> product;
}
